#include "logic.h"

void Session :: createBTypes ()
{
    //create building types
	defaultType = new BType;
	defaultType->typeName = new char[strlen("manufacture")+1];
	strcpy( defaultType->typeName, "manufacture");
	defaultType->cons.push_back( *defaultResource);
	defaultType->prod.push_back( *defaultResource);
	defaultType->consAmount.push_back( 4);
	defaultType->prodAmount.push_back( 10);
}

void Session :: createResources ()
{
    //create resources
	defaultResource = new Resource;
	resources.push_back( *defaultResource);
}